import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import xyz.chaobei.common.Student;

/**
 * @author <a href='mailto:maruichao52@gmail.com'>MRC</a>
 * @since 2021/1/11
 */
public class CommonLoggingTest {

    public static void main(String[] args) {

        Log logger = LogFactory.getLog(CommonLoggingTest.class);

        logger.debug("logger debug");
        logger.info("logger info");
        logger.warn("logger warn");
        logger.error("logger error");

        Student student = new Student(1,"desc",1);
        logger.fatal(student);
    }

}
